package com.xiaoke.annotation;

import com.xiaoke.enums.BusinessType;

import java.lang.annotation.*;

/**
 * @Author xiaoke
 * @Description 日志记录AOP
 * @Date 2023/7/23 18:46
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
    // 业务类型
    BusinessType businessType() default BusinessType.OTHER;
    // 模块名称
    String title() default "";
}
